<extend name="Common@Common:layui" />
<block name="title">
    <title>编辑分类分组</title>
</block>
<block name="style">
    <style>
        .layui-fixbar {
            display: none;
        }
    </style>
</block>

<block name="main">
    <div class="layui-main" style="width:auto">
        <form class="layui-form close-dialog callback" action="{:U('group_edit_post')}" method="post" style="margin-top:20px;">

            <div class="layui-form-item">
                <label class="layui-form-label">分组名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="group_name" value="{$info.group_name}" placeholder="请输入分组名称" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">分组KEY：</label>
                <div class="layui-input-inline">
                    <input type="text" name="group_key" value="{$info.group_key}" placeholder="需系统内唯一" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="hidden" name="id" value="{$info.id}">
                    <button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
                </div>
            </div>
        </form>
    </div>
</block>


<block name="script">
    <script>
        /*
                                                layui.use(['jquery'], function() {
                                                    var $ = layui.jquery;
                                                    $('#saveBtn').click(function() {
                                                        layui.miniweb.formSubmit($('form'));
                                                    });
                                                });
                                                */
    </script>
</block>